<script type='text/javascript'>
    (function(a, b, c, d, e, j, s) {
        a[d] = a[d] || function() {
            (a[d].params = a[d].params || []).push(arguments)
        };
        j = b.createElement(c),
            s = b.getElementsByTagName(c)[0];
        j.async = true;
        j.charset = 'UTF-8';
        j.src = 'http://kf.cc/static/widget/loader.js?time={:time()}';
        s.parentNode.insertBefore(j, s);
    })(window, document, 'script', '_MONKEY');
    // 应用密钥
    _MONKEY('app_key', '{$app_key}');

    {present name='auto_open'}
    _MONKEY('auto_open', {$auto_open|json_encode|raw});
    {/present}
    {present name='theme'}
    _MONKEY('theme', {$theme|json_encode});
    {/present}
</script>
